package com.jzt.jk.open.api.manage.infrastructure.common.interceptor;

import com.jzt.jk.open.api.manage.infrastructure.common.config.GlobalConfig;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 登录认证拦截
 * <p>
 * 作者：lizw <br/>
 * 创建时间：2021/01/21 10:50 <br/>
 */
public class AuthInterceptor extends HandlerInterceptorAdapter {
    private final GlobalConfig globalConfig;

    public AuthInterceptor(GlobalConfig globalConfig) {
        this.globalConfig = globalConfig;
    }

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
        return super.preHandle(request, response, handler);
    }
}
